package opp.Abstract.Cat1;

public class Test {
    public static void main(String[] args) {

        Dog dog= new Dog();
        Cow cow= new Cow();
        Crocodile crocodile = new Crocodile();

        System.out.println("==测试情况如下==");
        //牛
        cow.reptile();
        cow.eating();
        //鳄鱼
        crocodile.reptile();
        crocodile.eating();
        //狗
        dog.reptile();
        dog.eating();




    }



}
